package service.impl;

import dao.AjaxDao;
import dao.impl.AjaxDaoImpl;
import model.Student;
import service.AjaxService;

public class AjaxServiceImpl implements AjaxService {
    AjaxDao ajaxDao = new AjaxDaoImpl();

    @Override
    public Student getStudentByStuNo(String stuNo) {
        return ajaxDao.getStudentByStuNo(stuNo);
    }

    @Override
    public Student getStudentByStuName(String stuName) {
        return ajaxDao.getStudentByStuName(stuName);
    }

    @Override
    public Student getStudentByStuIdNumber(String stuIdNumber) {
        return ajaxDao.getStudentByStuIdNumber(stuIdNumber);
    }
}
